package com.egitim.model;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.validation.constraints.Digits; 
import javax.validation.constraints.Size;
import  com.egitim.model.BaseEntity;


@Entity
public class Member extends BaseEntity implements Serializable  {
    /** Default value included to remove warning. Remove or modify at will. **/
    private static final long serialVersionUID = 1L;
  
 

	@Column(name="phone")
    private String phoneNumber;
   
	@Size(min = 10, max = 12)
    @Digits(fraction = 0, integer = 12)
    @Column(name = "phone")
    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }
   
  
    @Override
	public String getDisplayText() {
		// TODO Auto-generated method stub
		return null;
	}
}